public class LazySingletonPatternCarFactory {
    private static LazySingletonPatternCarFactory instance = null;
    private LazySingletonPatternCarFactory() {}
    public static LazySingletonPatternCarFactory getInstance() {
        if (instance == null) {
            instance = new LazySingletonPatternCarFactory();
        }
        return instance;
    }
    public String showHashCode(){
        return String.valueOf(instance.hashCode());
    }
}
